Skip to content

Feat/editor (V1)#76

Merged
jonasstrehle merged 12 commits into
release/0.0.1from
feat/editor
Mar 13, 2026
Merged

Feat/editor (V1)#76
jonasstrehle merged 12 commits into
release/0.0.1from
feat/editor

Conversation

@jonasstrehle
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 19:25
@jonasstrehle jonasstrehle changed the base branch from main to release/0.0.1 March 3, 2026 19:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new /editor route that hosts a Monaco-based editor workspace with a file-tree sidebar, tabs, drag/drop, and context-menu actions, supported by new composables and UI primitives.

Changes:

  • Introduces EditorView + wrapper view and wires it into the router at /editor.
  • Adds editor sidebar components (tree items, tabs, context menu) plus composables for selection, clipboard, platform shortcuts, and drag/drop state.
  • Adds UI wrapper components for reka-ui resizable panels and scroll areas; updates dependencies (modern-monaco, reka-ui, @vueuse/core).

Reviewed changes

Copilot reviewed 20 out of 22 changed files in this pull request and generated 18 comments.

Show a summary per file
File Description
src/views/Editor/EditorViewWrapper.vue Wrapper to mount the new editor view.
src/views/Editor/EditorView.vue Main editor page: workspace FS tree, tab persistence, drag/drop, clipboard operations.
src/types/FileTree.ts Defines file tree node shape used across editor components.
src/router/index.ts Adds /editor route entry.
src/composable/usePlatform.ts OS-aware shortcut formatting (Mac symbols vs Ctrl/Alt/Shift).
src/composable/useFileSelection.ts VS Code-style multi-selection behavior for the tree.
src/composable/useFileDragDrop.ts Shared drag state + helpers for intra-tree drag/drop.
src/composable/useFileClipboard.ts Internal cut/copy/paste state + “copy path” helpers.
src/composable/useEditorTabs.ts Manages open/active/preview tabs and persistence hooks.
src/components/ui/scroll-area/* New scroll-area wrappers around reka-ui.
src/components/ui/resizable/* New resizable panel wrappers around reka-ui.
src/components/Editor/FolderContextMenu.vue Context menu UI for file/folder/background actions.
src/components/Editor/FileTreeItem.vue Recursive tree item renderer with drag/drop + inline create/rename.
src/components/Editor/EditorTabs.vue Tab strip UI for open files.
src/components/Editor/EditorSidebar.vue Sidebar container: selection, context menu wiring, keyboard shortcuts, root creation.
package.json / package-lock.json Adds/bumps dependencies for Monaco + reka-ui/vueuse updates.
.gitignore Ignores local “instructions” files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/views/Editor/EditorView.vue
Comment thread src/components/ui/scroll-area/ScrollArea.vue Outdated
Comment thread src/components/Editor/FolderContextMenu.vue
Comment thread src/components/Editor/FolderContextMenu.vue
Comment thread src/views/Editor/EditorView.vue
Comment thread src/components/Editor/EditorTabs.vue
Comment thread src/views/Editor/EditorView.vue
Comment thread src/views/Editor/EditorView.vue
Comment thread src/components/ui/resizable/index.ts
Comment thread src/components/Editor/EditorSidebar.vue
@jonasstrehle jonasstrehle changed the title Feat/editor Feat/editor (V1) Mar 13, 2026
@jonasstrehle jonasstrehle merged commit 58b95a2 into release/0.0.1 Mar 13, 2026
1 check passed
@jonasstrehle jonasstrehle deleted the feat/editor branch March 13, 2026 17:46
benStre pushed a commit that referenced this pull request May 6, 2026
* install modern-monaco

* Include <MonacoEditor/>

* added sidebar and multifile support

* multi files

* added local storage to Persists across refreshes

* fix creating new files/folders

* persistent filetree

* fix scrollable sidebar

* selecting multiple files

* feat: Add new file and new folder options to the root-level context menu and implement their creation logic.

* drag n drop

* update package

---------

Co-authored-by: kha1dx <162775528+kha1dx@users.noreply.github.com> and agent of Khaled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants